//
//  YYSReadRecondCell.m
//  FanLaiWu
//
//  Created by gonglei on 17/3/17.
//  Copyright © 2017年 yys. All rights reserved.
//

#import "YYSReadRecondCell.h"

@interface YYSReadRecondCell ()

@property (weak, nonatomic) IBOutlet UILabel *titleLabel;
@property (weak, nonatomic) IBOutlet UIImageView *iconImage;

@property (weak, nonatomic) IBOutlet NSLayoutConstraint *leadmaste;
@end

@implementation YYSReadRecondCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}
-(void)setIsquanxian:(BOOL)isquanxian
{
    _isquanxian = isquanxian;
    if (_isquanxian) {
        self.seclectIcon.hidden = NO;
        self.leadmaste.constant = 10;
    } else {
        self.seclectIcon.hidden = YES;
        self.leadmaste.constant = -22;
    }
}
-(void)setIschoice:(BOOL)ischoice
{
    _ischoice = ischoice;
    if (_ischoice) {
        self.seclectIcon.image = [UIImage imageNamed:@"Selected"];
    } else {
        self.seclectIcon.image = [UIImage imageNamed:@"Unselected"];
    }
}
-(void)dealloc
{
  
    
}
- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
